WorldClient Pro © 1999-2000 Alt-N Technologies. All Rights Reserved. |
|
Date/Time Formatting Codes |
|
Here are the formatting codes that may be used in the WorldClient.ini file's Date and Time formatting controls, located in the General section of the INI file. For more information on usage and formatting codes, see documentation for the C function strftime.
The # flag may prefix some formatting codes (e.g. %#c). The result of including this flag is explained at the end of each relevant code's definition.
%a = Abbreviated weekday name.
%A = Full weekday name.
%b = Abbreviated month name.
%B = Full month name.
%c = Date and time representation appropriate for locale. With # flag means long date and time representation appropriate for current locale (e.g. "Tuesday, March 14, 1995, 12:41:29").
%d = Day of month as decimal number (01 - 31). # means remove leading zeros (if any).
%H = Hour in 24-hour format (00 - 23). # means remove leading zeros (if any).
%I = Hour in 12-hour format (01 - 12). # means remove leading zeros (if any).
%j = Day of year as decimal number (001 - 366). # means remove leading zeros (if any).
%m = Month as decimal number (01 - 12). # means remove leading zeros (if any).
%M = Minutes as decimal number (00 - 59). # means remove leading zeros (if any).
%p = Current locale's A.M./P.M. indicator for 12-hour clock.
%S = Second as decimal number (00 - 59). # means remove leading zeros (if any).
%U = Week of year as decimal number, with Sunday as first day of week (00 - 53). # means remove leading zeros (if any).
%w = Weekday as decimal number (0 - 6; Sunday is 0). # means remove leading zeros (if any).
%W = Week of year as decimal number, with Monday as first day of week (00 - 53). # means remove leading zeros (if any).
%x = Date representation for current locale. With # flag means long date representation appropriate for current locale (e.g. "Tuesday, March 14, 1995").
%X = Time representation for current locale.
%y = Year without century, as decimal number (00 - 99). # means remove leading zeros (if any).
%Y = Year with century, as decimal number. # means remove leading zeros (if any).
%z, %Z = Time-zone name or abbreviation; no characters if time zone is unknown.
%% = Percent sign.